package com.qf.before;

import org.springframework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

/**
 * @author Ypl
 * @version V1.0
 * @Project September-mavens
 * @Package com.qf.before
 * @Description:
 * @Date 2022/9/27 15:17
 */
@SuppressWarnings("all")
public class MyMethodBefore implements MethodBeforeAdvice {
    /**
     * 前置增强
     */
    @Override
    public void before(Method method, Object[] args, Object target) throws Throwable {
        System.out.println("前置增强");
    }
}
